import Router from '@koa/router'

import loginController from '../controller/login.controller'

const loginRouter = new Router({ prefix: '/login' })

loginRouter.post('/', loginController.login.bind(loginController))

export default loginRouter
